home *** CD-ROM | disk | FTP | other *** search
- on PlayBounceSound
- set choice to random(10)
- if choice = 1 then
- puppetSound(4, "bounce1")
- else
- if choice = 2 then
- puppetSound(4, "bounce2")
- else
- if choice = 3 then
- puppetSound(4, "bounce3")
- else
- if choice = 4 then
- puppetSound(4, "bounce4")
- else
- if choice = 5 then
- puppetSound(4, "bounce5")
- else
- if choice = 6 then
- puppetSound(4, "bounce6")
- else
- if choice = 7 then
- puppetSound(4, "bounce7")
- else
- if choice = 8 then
- puppetSound(4, "bounce8")
- else
- if choice = 9 then
- puppetSound(4, "bounce9")
- else
- if choice = 10 then
- puppetSound(4, "bounce10")
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end
-